﻿<%@ Page Title="" Language="C#" MasterPageFile="~/YUIAspNet.Master" AutoEventWireup="true" CodeBehind="AutoComplete_LocalData.aspx.cs" Inherits="YUIAspNetDemo.AutoComplete.AutoComplete_LocalData" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>YUIAsp.Net Controls : LiveDemo : AutoComplete : Local data</title>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>AutoComplete with local data</h1>
    
    <p>Besides remote data, YUIAsp.Net AutoComplete also works with local data, performing functions similar to a DropDownList ASP.NET control.</p>
    
    <p>The Source defined for the AutoComplete control is rendered with the control, no more remote call is required.</p>
    
    <p>You can use this option when you have a small set of data that you want the user to choose from.</p>
    
    <p>Start by typing "test" in the search box.</p>
    
    <p>
        <yui:AutoComplete id="autoCompleteLocal" Width="200px" runat="server">
        </yui:AutoComplete>
    </p>
</asp:Content>
